/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Clases;

import Persistencia.Convenio;
import javax.annotation.PostConstruct;
import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import negocio.ConvenioInterface;

/**
 *
 * @author BATAQUERO
 */
@ManagedBean
public class FSeguimBitacoraSem implements Formato {

    @EJB
    private ConvenioInterface convenioSession;
    @ManagedProperty(value = "#{sessionBean}")
    private SessionBean sessionBean;
    private Convenio convenio;

    @PostConstruct
    public void init() {
        convenio = new Convenio();
    }

    public void cargarCabeceraSeguimiento() {
        convenio = convenioSession.consultarConvenio(sessionBean.getUsuarioSession().getEstudiante());

    }

    @Override
    public void ConsultarFormato() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.        
    }

    @Override
    public void DiligenciarFormato() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void AprobarFormato() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    @Override
    public void EditarFormato() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }

    public Convenio getConvenio() {
        return convenio;
    }

    public void setConvenio(Convenio convenio) {
        this.convenio = convenio;
    }

    public SessionBean getSessionBean() {
        return sessionBean;
    }

    public void setSessionBean(SessionBean sessionBean) {
        this.sessionBean = sessionBean;
    }

     public String cargarInicio() {
        return "Menu";
    }
}
